module Rpodupdate
  class Config
    DEFAULTS = {
      :silent => false,
    }

    attr_accessor :silent
    alias_method :silent?, :silent

    def self.instance
      @instance ||= new
    end

    class << self
      attr_writer :instance
    end

    module Mixin
      def config
        Config.instance
      end
    end
  end
end
